package com.jlect.swebing.ui.client;

/**
 * Renderer event constants
 *
 * @author Sergey Kozmin
 * @since 26.11.2007 11:18:46
 */
public interface EventConstants {
    public static final int KEY_EVENT     = 1;
    public static final int MOUSE_EVENT   = 2;

    /* Modifier constants */
    public static final int SHIFT_MASK = 1;
    public static final int CTRL_MASK = 1 << 1;
    public static final int META_MASK = 1 << 2;
    public static final int ALT_MASK = 1 << 3;

    /**
     * The Enter key.
     */
    public static final int ENTER = '\n';
    /**
     * The BackSpace key.
     */
    public static final int BACK_SPACE = '\b';
    /**
     * The Tab key.
     */
    public static final int TAB = '\t';
    /**
     * The Escape key.
     */
    public static final int ESCAPE = 27;
    /**
     * The Delete key.
     */
    public static final int DELETE = 127;
}
